package view;

import java.awt.Color;
import java.util.Observable;
import java.util.Observer;

import javax.swing.BorderFactory;
import javax.swing.JLabel;
import javax.swing.border.Border;

public class StatusArea extends JLabel implements Observer {
	
    public StatusArea() {
    	Border gap = BorderFactory.createEmptyBorder(2, 2, 2, 2);
        setBackground(Color.WHITE);
        setOpaque(true);
        setForeground(Color.RED);
        setBorder(gap);
        setText("");
    }

    public void update(Observable o, Object arg) {
        setText("bice");
    }
}